import Vue from 'vue';
import VueRouter from 'vue-router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './views/app.vue';

Vue.use(VueRouter);
Vue.use(ElementUI);

import routes from './views/router';
const router = new VueRouter({
    routes,
});

new Vue({
    el: '#app',
    router,
    render: h => h(App)
}); 